package com.luge.heart;

import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

import com.luge.base.BaseActivity;

public class RecordActivity extends BaseActivity implements OnClickListener {
	private TextView lyricTxt;
	private TextView titleTxt;
	private String lyricStr;
	private String titleStr;

	@Override
	protected void init() {
		setContentView(R.layout.record_layout);
		findViewById(R.id.record_back).setOnClickListener(this);
		findViewById(R.id.record_layout_share_btn).setOnClickListener(this);
		lyricTxt = (TextView) findViewById(R.id.record_layout_lyric_txt);
		titleTxt = (TextView) findViewById(R.id.record_layout_title);
	}

	@Override
	protected void main() {
		titleStr = getIntent().getStringExtra("Title");
		titleTxt.setText(titleStr);
		lyricStr = getIntent().getStringExtra("Lyric");
		lyricTxt.setText(lyricStr + "");
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.record_back:
			finish();
			break;
		case R.id.record_layout_share_btn:
			
			break;
		default:
			break;
		}
	}

}
